package com.mark.dao;

import com.mark.pojo.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {
    //管理人注册
    int insert(Admin record);

    int deleteByPrimaryKey(Integer adminId);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer adminId);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    //后台管理员登录
    Admin selectLogin(@Param("adminName") String adminName, @Param("password") String password);
}